/**
 * @Company:中享思途   
 * @Title:Product.java 
 * @Author:IL Clown   
 * @Date:2020年8月20日 下午2:08:12     
 */
package com.situ.shopsystem.pojo;

import java.io.Serializable;

import org.apache.ibatis.type.Alias;

/** 
 * @ClassName:Product 
 * @Description:(这里用一句话描述这个类的作用)  
 */
@Alias("product")
public class Product extends Base implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long catalogId;//目录ID	
	private String proName;//商品名称
	private String proNo;//商品编号
	private String proPhoto;//商品照片
	private Double proPrice;//商品价格
	private Integer proNumber;//商品数量
	private Integer proOn;//商品状态1上架2：未上架
	private String info;//商品的简介

	public Product() {
		super();
	}

	public Product(Long catalogId, String proName, String proNo, String proPhoto, Double proPrice, Integer proNumber, Integer proOn, String info) {
		super();
		this.catalogId = catalogId;
		this.proName = proName;
		this.proNo = proNo;
		this.proPhoto = proPhoto;
		this.proPrice = proPrice;
		this.proNumber = proNumber;
		this.proOn = proOn;
		this.info = info;
	}

	@Override
	public String toString() {
		return "Product [catalogId=" + catalogId + ", proName=" + proName + ", proNo=" + proNo + ", proPhoto=" + proPhoto + ", proPrice=" + proPrice + ", proNumber=" + proNumber + ", proOn=" + proOn
				+ ", info=" + info + "]";
	}

	public Long getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(Long catalogId) {
		this.catalogId = catalogId;
	}

	public String getProName() {
		return proName;
	}

	public void setProName(String proName) {
		this.proName = proName;
	}

	public String getProNo() {
		return proNo;
	}

	public void setProNo(String proNo) {
		this.proNo = proNo;
	}

	public String getProPhoto() {
		return proPhoto;
	}

	public void setProPhoto(String proPhoto) {
		this.proPhoto = proPhoto;
	}

	public Double getProPrice() {
		return proPrice;
	}

	public void setProPrice(Double proPrice) {
		this.proPrice = proPrice;
	}

	public Integer getProNumber() {
		return proNumber;
	}

	public void setProNumber(Integer proNumber) {
		this.proNumber = proNumber;
	}

	public Integer getProOn() {
		return proOn;
	}

	public void setProOn(Integer proOn) {
		this.proOn = proOn;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

}
